/**
 * 2018/7/19 15:30:32 Wen Jun created.
 */

package com.diver.flinkdemo.entity.xxt;

import java.math.BigDecimal;

/**
 * 2018/07/19
 * Created by Wen Jun.
 */
public class SafetyTrajectory implements java.io.Serializable {

    private static final long serialVersionUID = -6645133423985629871L;
    // 唯一主键 [主键]
    private String id;
    // 学生卡id
    private String studentCardId;
    // 经度
    private BigDecimal longitude;
    // 纬度
    private BigDecimal latitude;
    // 坐标上报时间
    private Long uploadTime;

    // 路线类型：0为上学路线，1为放学路线
    private Integer type;
    // 命令id
    private String commendId;
    // 创建时间
    private Long createTime;
    // 删除标识（0：未删除，1：已删除）
    private Integer deleteFlag;
    // 删除时间
    private Long deleteTime;

    @Override
    public String toString() {
        return "SafetyTrajectory{" + "id='" + id + '\'' + ", studentCardId='" + studentCardId + '\'' + ", longitude=" +
                longitude + ", latitude=" + latitude + ", uploadTime=" + uploadTime + ", type=" + type + ", commendId='" +
                commendId + '\'' + ", createTime=" + createTime + ", deleteFlag=" + deleteFlag + ", deleteTime=" + deleteTime + '}';
    }

    /**
     * 获取唯一主键 [主键]
     *
     * @return 唯一主键
     */
    public String getId() {
        return id;
    }

    /**
     * 设置唯一主键 [主键]
     *
     * @param id 唯一主键
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取学生卡id
     *
     * @return 学生卡id
     */
    public String getStudentCardId() {
        return studentCardId;
    }

    /**
     * 设置学生卡id
     *
     * @param studentCardId 学生卡id
     */
    public void setStudentCardId(String studentCardId) {
        this.studentCardId = studentCardId;
    }

    /**
     * 获取经度
     *
     * @return 经度
     */
    public BigDecimal getLongitude() {
        return longitude;
    }

    /**
     * 设置经度
     *
     * @param longitude 经度
     */
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    /**
     * 获取纬度
     *
     * @return 纬度
     */
    public BigDecimal getLatitude() {
        return latitude;
    }

    /**
     * 设置纬度
     *
     * @param latitude 纬度
     */
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Long getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    /**
     * 获取路线类型：0为上学录像，1为放学路线
     *
     * @return 路线类型：0为上学录像，1为放学路线
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置路线类型：0为上学录像，1为放学路线
     *
     * @param type 路线类型：0为上学录像，1为放学路线
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取命令id
     *
     * @return 命令id
     */
    public String getCommendId() {
        return commendId;
    }

    /**
     * 设置命令id
     *
     * @param commendId 命令id
     */
    public void setCommendId(String commendId) {
        this.commendId = commendId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Long deleteTime) {
        this.deleteTime = deleteTime;
    }
}
